#pragma once


class CCommonTool{	
public:
	static void NormalizeSpaces(std::wstring& wstr);
	//UTF8תANSI
	static	std::string Utf8toAscii(const std::string strUTF8);

	static  std::string AsciiToUtf8(const std::string& str);

	static BOOL CreateDirectoryRecursively(const CString& strPath);

	static std::string RemoveCommonPrefix(const std::string& path1, const std::string& path2);

	static bool ConfirmWind(std::string strMsg);

	static bool DeleteSpecifiedFile(const CString& strFilePath);

	static bool DeleteDirectoryContents(const CString& strPath);

	static std::string Convert_path(std::string path);

	static bool ShowConfirmationDialog(const wchar_t* title, const wchar_t* message);

	static bool is_file_exist(const std::string& path);
};